package com.base.service.system.ao;

import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import com.gitee.magic.core.valid.annotation.Format;
import com.gitee.magic.core.valid.annotation.Format.FormatType;
import com.gitee.magic.core.valid.annotation.NotNull;

/**
 * 用户密码重置
 *
 * @author Start
 */
@Getter@Setter@ToString
public class UserPwdAO implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Schema(description="旧密码")
    @NotNull
    @Format(type = FormatType.MD5)
    private String oldPassword;
	
	@Schema(description="新密码")
    @NotNull
    @Format(type = FormatType.MD5)
    private String newPassword;

}
